#include <functional>
#include <iostream>
#include <unistd.h>
#include <pthread.h>

using task_t = std::function<void()>;

void Download()
{
    std::cout << "我是一个下载任务,我的线程id:" << pthread_self() << std::endl;
    sleep(3);
}
